/*
 * @描述信息: 用户
 * @Author:
 */

import http from '@/http/http'

export const sysUserImage = () => http.post('/api/sysUser/image', {}, { responseType: 'arraybuffer' }) // 登录获取图片验证码
export const userLogin = (obj: object) => http.post('/api/user/login', obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) // 登录获取图片验证码
export const userInfo = () => http.get('/api/sysUser/getInfo') // 登录获取用户信息及权限
export const getMenuList = () => http.get('/api/sysUser/getMenuList') // 获取菜单
